# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'ActivityContentSnippet'
        db.create_table('activities_activitycontentsnippet', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('category', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('title', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('content', self.gf('django.db.models.fields.TextField')()),
        ))
        db.send_create_signal('activities', ['ActivityContentSnippet'])

        # Adding unique constraint on 'ActivityContentSnippet', fields ['title', 'description']
        db.create_unique('activities_activitycontentsnippet', ['title', 'description'])

        # Adding model 'Subactivity'
        db.create_table('activities_subactivity', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('parent_activity', self.gf('django.db.models.fields.related.ForeignKey')(related_name='subactivities', to=orm['activities.Activity'])),
            ('subactivity', self.gf('django.db.models.fields.related.ForeignKey')(related_name='parent_activities', to=orm['activities.Activity'])),
            ('order_number', self.gf('django.db.models.fields.PositiveIntegerField')()),
        ))
        db.send_create_signal('activities', ['Subactivity'])

        # Adding model 'Activity'
        db.create_table('activities_activity', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('last_modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('title', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('title_slug', self.gf('django.db.models.fields.SlugField')(max_length=255, blank=True)),
            ('category', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('category_slug', self.gf('django.db.models.fields.SlugField')(max_length=255, blank=True)),
            ('total_points', self.gf('django.db.models.fields.FloatField')(default=10.0, blank=True)),
            ('course', self.gf('django.db.models.fields.CharField')(max_length=512)),
            ('weight', self.gf('django.db.models.fields.FloatField')(default=1.0)),
            ('content', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('order_number', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('display_title', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('main_menu', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('is_public', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('is_shared', self.gf('django.db.models.fields.BooleanField')(default=True)),
            ('activity_type', self.gf('django.db.models.fields.CharField')(default='NORMAL', max_length=10)),
            ('activity_results_type', self.gf('django.db.models.fields.CharField')(default='PRIVATE', max_length=10)),
            ('allow_html', self.gf('django.db.models.fields.BooleanField')(default=True)),
            ('randomize_questions', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('allow_late_submissions', self.gf('django.db.models.fields.BooleanField')(default=True)),
            ('submissions_allowed', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('start_date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2012, 8, 16, 0, 0), null=True, blank=True)),
            ('end_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['Activity'])

        # Adding unique constraint on 'Activity', fields ['title', 'category', 'course']
        db.create_unique('activities_activity', ['title', 'category', 'course'])

        # Adding model 'ActivityViewed'
        db.create_table('activities_activityviewed', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('first_viewed', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
            ('last_viewed', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('times_viewed', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('activity', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['activities.Activity'])),
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])),
            ('completed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityViewed'])

        # Adding unique constraint on 'ActivityViewed', fields ['activity', 'user']
        db.create_unique('activities_activityviewed', ['activity_id', 'user_id'])

        # Adding model 'ActivityQuestion'
        db.create_table('activities_activityquestion', (
            ('gradingsection_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSection'], unique=True, primary_key=True)),
            ('question', self.gf('django.db.models.fields.TextField')(default='', null=True, blank=True)),
            ('type', self.gf('django.db.models.fields.CharField')(default='BOOL-TF', max_length=15)),
            ('choices', self.gf('django.db.models.fields.TextField')(default='', null=True, blank=True)),
            ('allowable_extensions', self.gf('django.db.models.fields.CharField')(default='.pdf;.doc;.docx;.txt;.rtf', max_length=255, null=True, blank=True)),
            ('start_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('end_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityQuestion'])

        # Adding model 'ActivityResponseBoolean'
        db.create_table('activities_activityresponseboolean', (
            ('gradingsectiongrade_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSectionGrade'], unique=True, primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('submission_number', self.gf('django.db.models.fields.PositiveIntegerField')(default=1, blank=True)),
            ('response', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityResponseBoolean'])

        # Adding model 'ActivityResponseInteger'
        db.create_table('activities_activityresponseinteger', (
            ('gradingsectiongrade_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSectionGrade'], unique=True, primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('submission_number', self.gf('django.db.models.fields.PositiveIntegerField')(default=1, blank=True)),
            ('response', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityResponseInteger'])

        # Adding model 'ActivityResponseFloat'
        db.create_table('activities_activityresponsefloat', (
            ('gradingsectiongrade_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSectionGrade'], unique=True, primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('submission_number', self.gf('django.db.models.fields.PositiveIntegerField')(default=1, blank=True)),
            ('response', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityResponseFloat'])

        # Adding model 'ActivityResponseShortAnswer'
        db.create_table('activities_activityresponseshortanswer', (
            ('gradingsectiongrade_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSectionGrade'], unique=True, primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('submission_number', self.gf('django.db.models.fields.PositiveIntegerField')(default=1, blank=True)),
            ('response', self.gf('django.db.models.fields.CharField')(max_length=512, null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityResponseShortAnswer'])

        # Adding model 'ActivityResponseLongAnswer'
        db.create_table('activities_activityresponselonganswer', (
            ('gradingsectiongrade_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSectionGrade'], unique=True, primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('submission_number', self.gf('django.db.models.fields.PositiveIntegerField')(default=1, blank=True)),
            ('response', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityResponseLongAnswer'])

        # Adding model 'ActivityResponseFileUpload'
        db.create_table('activities_activityresponsefileupload', (
            ('gradingsectiongrade_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSectionGrade'], unique=True, primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('submission_number', self.gf('django.db.models.fields.PositiveIntegerField')(default=1, blank=True)),
            ('response', self.gf('django.db.models.fields.files.FileField')(max_length=100, null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityResponseFileUpload'])

        # Adding model 'ActivityResponseMultipleChoice'
        db.create_table('activities_activityresponsemultiplechoice', (
            ('gradingsectiongrade_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['gradebook.GradingSectionGrade'], unique=True, primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)),
            ('submission_number', self.gf('django.db.models.fields.PositiveIntegerField')(default=1, blank=True)),
            ('response', self.gf('django.db.models.fields.CharField')(max_length=512, null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityResponseMultipleChoice'])

        # Adding model 'ActivityAutogradeResponse'
        db.create_table('activities_activityautograderesponse', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('question', self.gf('django.db.models.fields.related.ForeignKey')(default='', related_name='autograde_responses', to=orm['activities.ActivityQuestion'])),
            ('response', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
            ('points', self.gf('django.db.models.fields.FloatField')(default=0.0)),
            ('notes', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
        ))
        db.send_create_signal('activities', ['ActivityAutogradeResponse'])


    def backwards(self, orm):
        # Removing unique constraint on 'ActivityViewed', fields ['activity', 'user']
        db.delete_unique('activities_activityviewed', ['activity_id', 'user_id'])

        # Removing unique constraint on 'Activity', fields ['title', 'category', 'course']
        db.delete_unique('activities_activity', ['title', 'category', 'course'])

        # Removing unique constraint on 'ActivityContentSnippet', fields ['title', 'description']
        db.delete_unique('activities_activitycontentsnippet', ['title', 'description'])

        # Deleting model 'ActivityContentSnippet'
        db.delete_table('activities_activitycontentsnippet')

        # Deleting model 'Subactivity'
        db.delete_table('activities_subactivity')

        # Deleting model 'Activity'
        db.delete_table('activities_activity')

        # Deleting model 'ActivityViewed'
        db.delete_table('activities_activityviewed')

        # Deleting model 'ActivityQuestion'
        db.delete_table('activities_activityquestion')

        # Deleting model 'ActivityResponseBoolean'
        db.delete_table('activities_activityresponseboolean')

        # Deleting model 'ActivityResponseInteger'
        db.delete_table('activities_activityresponseinteger')

        # Deleting model 'ActivityResponseFloat'
        db.delete_table('activities_activityresponsefloat')

        # Deleting model 'ActivityResponseShortAnswer'
        db.delete_table('activities_activityresponseshortanswer')

        # Deleting model 'ActivityResponseLongAnswer'
        db.delete_table('activities_activityresponselonganswer')

        # Deleting model 'ActivityResponseFileUpload'
        db.delete_table('activities_activityresponsefileupload')

        # Deleting model 'ActivityResponseMultipleChoice'
        db.delete_table('activities_activityresponsemultiplechoice')

        # Deleting model 'ActivityAutogradeResponse'
        db.delete_table('activities_activityautograderesponse')


    models = {
        'activities.activity': {
            'Meta': {'unique_together': "(('title', 'category', 'course'),)", 'object_name': 'Activity'},
            'activity_results_type': ('django.db.models.fields.CharField', [], {'default': "'PRIVATE'", 'max_length': '10'}),
            'activity_type': ('django.db.models.fields.CharField', [], {'default': "'NORMAL'", 'max_length': '10'}),
            'allow_html': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'allow_late_submissions': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'category': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'category_slug': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}),
            'content': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'course': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
            'display_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'end_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_shared': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'main_menu': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'order_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'randomize_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'start_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2012, 8, 16, 0, 0)', 'null': 'True', 'blank': 'True'}),
            'submissions_allowed': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'title_slug': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}),
            'total_points': ('django.db.models.fields.FloatField', [], {'default': '10.0', 'blank': 'True'}),
            'weight': ('django.db.models.fields.FloatField', [], {'default': '1.0'})
        },
        'activities.activityautograderesponse': {
            'Meta': {'object_name': 'ActivityAutogradeResponse'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'points': ('django.db.models.fields.FloatField', [], {'default': '0.0'}),
            'question': ('django.db.models.fields.related.ForeignKey', [], {'default': "''", 'related_name': "'autograde_responses'", 'to': "orm['activities.ActivityQuestion']"}),
            'response': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'})
        },
        'activities.activitycontentsnippet': {
            'Meta': {'unique_together': "(['title', 'description'],)", 'object_name': 'ActivityContentSnippet'},
            'category': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'content': ('django.db.models.fields.TextField', [], {}),
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
        },
        'activities.activityquestion': {
            'Meta': {'object_name': 'ActivityQuestion', '_ormbases': ['gradebook.GradingSection']},
            'allowable_extensions': ('django.db.models.fields.CharField', [], {'default': "'.pdf;.doc;.docx;.txt;.rtf'", 'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'choices': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
            'end_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'gradingsection_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSection']", 'unique': 'True', 'primary_key': 'True'}),
            'question': ('django.db.models.fields.TextField', [], {'default': "''", 'null': 'True', 'blank': 'True'}),
            'start_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'type': ('django.db.models.fields.CharField', [], {'default': "'BOOL-TF'", 'max_length': '15'})
        },
        'activities.activityresponseboolean': {
            'Meta': {'object_name': 'ActivityResponseBoolean'},
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'gradingsectiongrade_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSectionGrade']", 'unique': 'True', 'primary_key': 'True'}),
            'response': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
            'submission_number': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'blank': 'True'})
        },
        'activities.activityresponsefileupload': {
            'Meta': {'object_name': 'ActivityResponseFileUpload'},
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'gradingsectiongrade_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSectionGrade']", 'unique': 'True', 'primary_key': 'True'}),
            'response': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
            'submission_number': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'blank': 'True'})
        },
        'activities.activityresponsefloat': {
            'Meta': {'object_name': 'ActivityResponseFloat'},
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'gradingsectiongrade_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSectionGrade']", 'unique': 'True', 'primary_key': 'True'}),
            'response': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
            'submission_number': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'blank': 'True'})
        },
        'activities.activityresponseinteger': {
            'Meta': {'object_name': 'ActivityResponseInteger'},
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'gradingsectiongrade_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSectionGrade']", 'unique': 'True', 'primary_key': 'True'}),
            'response': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'submission_number': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'blank': 'True'})
        },
        'activities.activityresponselonganswer': {
            'Meta': {'object_name': 'ActivityResponseLongAnswer'},
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'gradingsectiongrade_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSectionGrade']", 'unique': 'True', 'primary_key': 'True'}),
            'response': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'submission_number': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'blank': 'True'})
        },
        'activities.activityresponsemultiplechoice': {
            'Meta': {'object_name': 'ActivityResponseMultipleChoice'},
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'gradingsectiongrade_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSectionGrade']", 'unique': 'True', 'primary_key': 'True'}),
            'response': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
            'submission_number': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'blank': 'True'})
        },
        'activities.activityresponseshortanswer': {
            'Meta': {'object_name': 'ActivityResponseShortAnswer'},
            'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'gradingsectiongrade_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['gradebook.GradingSectionGrade']", 'unique': 'True', 'primary_key': 'True'}),
            'response': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
            'submission_number': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'blank': 'True'})
        },
        'activities.activityviewed': {
            'Meta': {'unique_together': "(('activity', 'user'),)", 'object_name': 'ActivityViewed'},
            'activity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['activities.Activity']"}),
            'completed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'first_viewed': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'last_viewed': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'times_viewed': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
        },
        'activities.subactivity': {
            'Meta': {'object_name': 'Subactivity'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'order_number': ('django.db.models.fields.PositiveIntegerField', [], {}),
            'parent_activity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'subactivities'", 'to': "orm['activities.Activity']"}),
            'subactivity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'parent_activities'", 'to': "orm['activities.Activity']"})
        },
        'auth.group': {
            'Meta': {'object_name': 'Group'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        'auth.permission': {
            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        'auth.user': {
            'Meta': {'object_name': 'User'},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'gradebook.gradingsection': {
            'Meta': {'object_name': 'GradingSection'},
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
            'section_number': ('django.db.models.fields.PositiveIntegerField', [], {'blank': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'total_points': ('django.db.models.fields.FloatField', [], {'default': '10.0'})
        },
        'gradebook.gradingsectiongrade': {
            'Meta': {'object_name': 'GradingSectionGrade'},
            'excused': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'points': ('django.db.models.fields.FloatField', [], {'default': '0.0'}),
            'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'grades'", 'to': "orm['gradebook.GradingSection']"}),
            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
        }
    }

    complete_apps = ['activities']